package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IDouyingActionStepConfigDao;
import org.jsbd.boss.domian.DouyingActionStep;
import org.springframework.stereotype.Repository;

@Repository("douyingActionStepConfigDao")
public class DouyingActionStepConfigDaoImpl extends CrackBaseDao implements IDouyingActionStepConfigDao{

	@Override
	public Integer getListPageCount(DouyingActionStep douyingActionStep) {
		return super.queryForCount("qy_douying_action_step_config.select_douying_action_step_config_page_count", douyingActionStep);
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<DouyingActionStep> getList(DouyingActionStep douyingActionStep) {
		return super.queryForList("qy_douying_action_step_config.select_douying_action_step_config_list", douyingActionStep);
	}

	@Override
	public void insert(DouyingActionStep douyingActionStep) {
		super.insert("qy_douying_action_step_config.insert_douying_action_step_config", douyingActionStep);
	}

	@Override
	public void update(DouyingActionStep douyingActionStep) {
		super.update("qy_douying_action_step_config.update_douying_action_step_config", douyingActionStep);
	}

	@Override
	public void delete(List<Integer> ids) {
		super.batchUpdate("qy_douying_action_step_config.delete_douying_action_step_config", ids);
	}

}
